package org.example.infrastructure.persistent.po;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * (StrategyAward)抽奖策略奖品明细配置
 *
 * @author makejava
 * @since 2024-05-12 10:39:22
 */
@Data
public class StrategyAward implements Serializable {
    private static final long serialVersionUID = -53230793648762193L;
/**
     * 自增ID
     */
    private Long id;
/**
     * 抽奖策略ID
     */
    private Long strategyId;
/**
     * 奖品ID
     */
    private Integer awardId;
/**
     * 奖品标题
     */
    private String awardTitle;
/**
     * 奖品副标题
     */
    private String awardSubtitle;
/**
     * 奖品库存总量
     */
    private Integer awardCount;
/**
     * 奖品剩余库存
     */
    private Integer awardCountSurpus;
/**
     * 奖品中奖概率
     */
    private BigDecimal awardRate;
/**
     * 排序
     */
    private Integer sort;

    private Date createTime;

    private Date updateTime;
/**
     * 规则模型，rule规则配置记录
     */
    private String ruleModels;


}

